﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace rhIRC.Model
{
    public interface IDataService
    {
        void GetData(Action<DataItem, Exception> callback);
        void CreateIrcConnector(Action<IrcModel, Exception> callback, IrcModel ircConnector);
        void CreateServer(Action<Server, Exception> callback, Server server);
        void CreateUser(Action<User, Exception> callback, User user);
        void CreateChannel(Action<Channel, Exception> callback, Channel channel);
    }
}
